package com.joney.website.dto.request;

import com.joney.common.validator.annotation.ContainCheck;
import lombok.Data;

/**
 * @author wangxianchen
 * @create 2018-11-13
 * @desc 注册请求体
 */
@Data
public class Register {

    private String loginName;

    private String password;

    private String birthday;

    @ContainCheck(value = ("1,2"),message = "性别不正确")
    private Integer sex;
}
